package com.online.dal.dao;

import com.online.dal.model.User;

import java.util.List;

public interface UserDAO {

    void insert(User user) throws Exception;

    void deleteById(String id) throws Exception;

    Long updateById(User user) throws Exception;

    List<User> queryByModel(User user) throws Exception;

    User queryById(String id) throws Exception;

}
